/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.stat;

class f extends Thread {
    public void run() {
        try {
            int i = 0;
            int j = 1;
            int k = 1;
            ac.a("");
            ac.b("");
            new ad(this).start();
            int l = ai.t(ac.c());
            if (l == 100) {
                i = 1;
                ac.a(ai.c(ac.c()));
            }
            else {
                i = 0;
                ac.a("");
            }
            if (i != 0) {
                ac.c(ac.c());
                if (!(ac.d().equals(ac.e()))) {
                    ac.e.a(ac.d());
                    ac.e.b(ac.e());
                }
            }
            sleep(1000L);
            if ((i != 0) && (++k > 5)) {
                k = 1;
                t.a(ac.c(), false);
            }
            if ((i == 0) && (j != 0))
                ac.a(ac.c(), true, 1000L);
            j = i;
            ac.b(ac.d());
        } catch (Exception localException) {
            x.a(ac.f(), localException);
            return;
        } catch (Error localError) {
            x.a(ac.f(), localError);
        }
    }
}